﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace habilitaciones.core.modelo
{
    public partial class Ordenes
    {
        public Personas Titular
        {
            get
            {
                var tit = (from t in this.OrdenesPersonas
                         where t.Roles.IdRol == 1 // Titular
                         select t.Personas).SingleOrDefault();
                return tit;
            }
        }

    }
}
